﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace God.ShoppingWebApi.Entities
{
   public class UserLogin: AuditedEntity<Guid>
    {
       


        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int UserSex { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int UserAge { get; set; }
        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string  UserEmail { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string UserInfoName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string  UserPassword { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string UserInfoRemarks { get; set; }
        public UserLogin()
        {

        }

        public UserLogin(Guid cid, string userName, int userSex, string userPhone, int userAge, string userEmail, string userInfoName, string userPassword, string userInfoRemarks, Guid? lastfierId)
        {
            Id = cid;
            UserName = userName;
            UserSex = userSex;
            UserPhone = userPhone;
            UserAge = userAge;
            UserEmail = userEmail;
            UserInfoName = userInfoName;
            UserInfoRemarks = userInfoRemarks;
            UserPassword = userPassword;
            LastModificationTime = DateTime.Now;
            CreationTime = DateTime.Now;
            CreatorId = lastfierId;
            LastModifierId = lastfierId;
        }

  
    }
}
